package com.clss.commandhelper.base;

import android.content.Context;

/**
 * Created by Liuv on 2017/4/12.
 */

public interface BaseView {

    void showLoadingDialog();

    void showLoadingDialog(String msg);

    void dismissLoadingDialog();

    Context getActContext();

    void responseError(int code, String msg);

    void requestFailure(Throwable t);

    void showShortToast(int res);

    void showShortToast(String toast);

    void showLongToast(int res);

    void showLongToast(String toast);
}
